﻿using System;
using System.Collections.Generic;

namespace WiMo.Games.Drawables
{
    public interface ISpriteImage : ISprite
    {
        void Load(IContentManager contentManager, string name);
        
        /// <summary>
        /// List of textures used for the graphic.
        /// </summary>
        List<ITexture> TextureList { get; set; }
        
        /// <summary>
        /// Curent index into the texture list.
        /// </summary>
        int ImageIndex { get; set; }

        /// <summary>
        /// Adds an additional image that can be used to render the sprite.
        /// </summary>
        /// <param name="contentManager"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        int AddImage(IContentManager contentManager, string name);
    }
}